const express = require('express')
const app = express()


app.get('/', (req, res) => {
    res.setHeader('Access-Control-Allow-Origin', '*');
    res.send('跨域')
})

app.listen(8000, () => { console.log('8000开启成功'); })